<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Books search</title>
</head>

<body style="background-color: grey">
	<form action="SearchBookId" method="get">
		<fieldset>
			<legend align="top">
				<h2 style="color: red">Book Search</h2>
			</legend>
			<center>
				<table style="background-color: #ccc">
					<tr>
						<td>Search Books</td>
						<td><select
							onchange="window.open(this.options[this.selectedIndex].value,'_top')">
								<option value="">Choose the choice...</option>
								<option value="bookid.jsp" >Search by id</option>
								<option value="bookname.jsp" >search by name</option>
								<option value="bookauthor.jsp" >search by author</option>


						</select>
						</td>
					</tr>

				</table>
			</center>
		</fieldset>
	</form>
</body>
</html>